<?php
include_once('inc/init.php');
include_once('inc/functions.index.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>The Finger For</title>
    <?php include_once('template/head.php');?>
  </head>

  <body>
    <div id="wrap">
      <!-- header -->
      <?php include_once('template/header.php'); ?>
      <!-- body -->
      <div id="body">
        <?php include_once('template/subheader.php'); ?>
        <div id="fingers">
          <div class="left_finger">
            <h1>Newest Fingers:</h1>
            <div>
              <ul>
                <?php Finger_showNewest(10); ?>
              </ul>
            </div>
            <div class="more">
              <a href="new.php" title="View More From The Newest Fingers">
                <img src="img/more_newest_fingers.gif" alt="More From The Newest Fingers" />
              </a>
            </div>
          </div>
          <div class="right_finger">
            <h1 class="left">Top Most Fingered:</h1>
            <div>
              <ul>
                <?php Finger_showMostFingered(10); ?>
              </ul>
            </div>
            <div class="more">
              <a href="top.php" title="View More From The Most Fingered">
                <img src="img/more_most_fingered.gif" alt="More From The Most Fingered" />
              </a>
            </div>
          </div>
          <div class="clearer"></div>
        </div>
      </div>
      <!-- footer -->
      <?php include_once('template/footer.php'); ?>
    </div>
    <br /><br /> <!-- keep some space with the bottom -->
  </body>
</html>
<?php mysql_close($db); ?>